﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsGame4
{
    class Item : Object
    {
        private int gunAmmo;
        private int bombAmmo;
        private int level;

        public Item(String id, Position2D position, Model model)
            : base(id, position, model)
        {
            type = Object.TypeObject.item;
            gunAmmo = bombAmmo = level = 0;
        }

        public int Level
        {
            get { return level; }
            set { level = value; }
        }

        public int BombAmmo
        {
            get { return bombAmmo; }
            set { bombAmmo = value; }
        }

        public int GunAmmo
        {
            get { return gunAmmo; }
            set { gunAmmo = value; }
        }

    }
}
